#import "DreamscapeZipperCell.h"


@implementation DreamscapeZipperCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setEclipseGlow:(DreamscapeZipperModel *)eclipseGlow {
	_eclipseGlow = eclipseGlow;

	//: 配置cell的UI







	self.yieldLabel.text = eclipseGlow.velvetNirvanaThrive ? @"YES" : @"NO";

}
//: 设置self.illuminateImageView的圆角
+ (void)cableTerrainMerge:(UIImageView *)riddle tranquilYawnOracle:(CGFloat)kindredEssence {
	riddle.layer.cornerRadius = kindredEssence;
	riddle.layer.masksToBounds = YES;
}

//: 设置self.arcaneYearningYawnImageView的圆角
- (void)keenQuench:(UIImageView *)windfall butterflyDabble:(CGFloat)terrainQuenchXenophile {
	windfall.layer.cornerRadius = terrainQuenchXenophile;
	windfall.layer.masksToBounds = YES;
}

- (UIImageView *)binaryJuggleImageView {
	if (!_binaryJuggleImageView) {
	
        _binaryJuggleImageView = [[UIImageView alloc] init];
        _binaryJuggleImageView.contentMode = UIViewContentModeScaleAspectFill;
        _binaryJuggleImageView.clipsToBounds = YES;
        _binaryJuggleImageView.layer.cornerRadius = 6;
        _binaryJuggleImageView.layer.masksToBounds = YES;
        UIImage *zestNoodleGlimpse = [UIImage imageNamed:@"images/image_3.png"];
        if (zestNoodleGlimpse) {
	        _binaryJuggleImageView.image = zestNoodleGlimpse;
        }
	}
	return _binaryJuggleImageView;
}

//: yonderJourney 的点击事件
- (void)action_4 {}

- (void)illuminatePonderRebirthConfigUI {

    //: 描述_0
    UIView *yearnXylophoneYonder = [[UIView alloc] initWithFrame:CGRectZero];
    yearnXylophoneYonder.frame = CGRectMake(3, 16, 124, 103);
    self.essenceVirtuousHopefulView = yearnXylophoneYonder;
    [self.contentView addSubview:yearnXylophoneYonder];


    //: 描述_1
    self.illuminateImageView = [[UIImageView alloc] init];
    self.illuminateImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.illuminateImageView.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [DreamscapeZipperCell cableTerrainMerge:self.illuminateImageView tranquilYawnOracle:8];
    UIImage *grinCuriosity = [UIImage imageNamed:@"images/image_1.png"];
    if (grinCuriosity) {
	    self.illuminateImageView.image = grinCuriosity;
    }
    [self.contentView addSubview:self.illuminateImageView];
	[self.illuminateImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(92);
		make.height.mas_equalTo(52);
		make.top.equalTo(@(28));
		make.bottom.equalTo(@(25));
	}];


    //: 描述_2
    self.arcaneYearningYawnImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
    self.arcaneYearningYawnImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.arcaneYearningYawnImageView.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [self keenQuench:self.arcaneYearningYawnImageView butterflyDabble:1];
    UIImage *vortexQuakeMagnitude = [UIImage imageNamed:@"images/image_2.png"];
    if (vortexQuakeMagnitude) {
	    self.arcaneYearningYawnImageView.image = vortexQuakeMagnitude;
    }
    [self.contentView addSubview:self.arcaneYearningYawnImageView];
	[self.arcaneYearningYawnImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(150);
		make.height.mas_equalTo(129);
		make.bottom.equalTo(@(27));
	}];

	//: 描述_3
	[self.contentView addSubview:self.binaryJuggleImageView];
	[self.binaryJuggleImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(132);
		make.height.mas_equalTo(133);
		make.bottom.equalTo(@(20));
	}];


    //: 描述_4
    UIButton *yonderJourney = [[UIButton alloc] init];
    yonderJourney.frame = CGRectMake(31, 15, 192, 91);
    UIImage *dreamerForestLuminescence = [UIImage imageNamed:@"images/icon_4.png"];
    if (dreamerForestLuminescence) {
	    [yonderJourney setImage:dreamerForestLuminescence forState:UIControlStateNormal];
    }
    [yonderJourney setTitle:@"button_4" forState:UIControlStateNormal];
    [yonderJourney setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [yonderJourney setTitleColor:[UIColor colorWithRed:12/255.0 green:103/255.0 blue:157/255.0 alpha:1.0] forState:UIControlStateNormal];
    [yonderJourney setTitleColor:[UIColor colorWithRed:200/255.0 green:103/255.0 blue:62/255.0 alpha:0.9] forState:UIControlStateSelected];
    [yonderJourney addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    self.yawnBtn = yonderJourney;
    [self.contentView addSubview:yonderJourney];


    //: 描述_5
    self.yieldLabel = [[UILabel alloc] initWithFrame:CGRectZero];
    self.yieldLabel.frame = CGRectMake(18, 25, 166, 130);
    self.yieldLabel.text = @"label_5";
    self.yieldLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightRegular];
    self.yieldLabel.textColor = [UIColor colorWithRed:223/255.0 green:109/255.0 blue:30/255.0 alpha:0.6];
    self.yieldLabel.textAlignment = NSTextAlignmentCenter;
    self.yieldLabel.numberOfLines = 0;
    [self.contentView addSubview:self.yieldLabel];


    //: 描述_6
    UITextField *laughRippleQuench = [[UITextField alloc] init];
    laughRippleQuench.frame = CGRectMake(11, 16, 197, 33);
    self.nightfallHammerTextField = laughRippleQuench;
    [self.contentView addSubview:laughRippleQuench];
}


@end